package com.pro.service.imple;

import com.pro.mapper.LoginRecordMapper;
import com.pro.pojo.LoginRecord;
import com.pro.service.LoginRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author 谭金诚
 * @Description TODO
 * @Date 2022/1/22 9:50
 * @Version 1.0
 */
@Service
public class LoginRecordServiceImple implements LoginRecordService {

    @Autowired
    private LoginRecordMapper mapper;

    //获取登录日志信息
    @Override
    public List<LoginRecord> getLoginRecordTable() {
        List<LoginRecord> loginRecordTable = mapper.getLoginRecordTable();
        return loginRecordTable;
    }
}
